package com.learnyou.server.xingzuo.dto.resultDTO;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author heweifeng
 * @Description:
 * @date 2022/10/14 19:22
 */
@Data
public class OrderDTO {


    @ApiModelProperty(value = "订单id")
    private String id;

    @ApiModelProperty(value = "订单原价的小计")
    private BigDecimal orderOriginalAmount;

    @ApiModelProperty(value = "订单现价的小计")
    private BigDecimal orderCurrentAmount;

    @ApiModelProperty(value = "订单状态")
    private String orderStatus;

    @ApiModelProperty(value = "订单关闭时间")
    private Date closeAt;

    @ApiModelProperty(value = "订单关闭原因")
    private String closeReason;

    @ApiModelProperty(value = "订单取消时间")
    private Date cancelAt;

    @ApiModelProperty(value = "订单取消原因")
    private String cancelReason;

    @ApiModelProperty(value = "支付方式")
    private String paymentType;

    @ApiModelProperty(value = "交易发起时间")
    private Date tradeAt;

    @ApiModelProperty(value = "交易状态")
    private String tradeStatus;

    @ApiModelProperty(value = "交易流水号")
    private String tradeTransactionId;

    @ApiModelProperty(value = "支付时间")
    private Date paymentAt;

    @ApiModelProperty(value = "交易实际支付金额")
    private BigDecimal paymentAmount;

    @ApiModelProperty("购买的订阅计划")
    private PurchasePlanDTO purchasePlan;

}
